package com.xinchengxd.user.service;


import com.xinchengxd.commons.ResponseResult;
import com.xinchengxd.user.entity.User;

import java.util.List;

public interface UserService {
    int add(User user);
    ResponseResult<String> sign(User user);
    User look(Integer id);
    void update(User user);
    ResponseResult<String> updateForPassword(String oldPwd,String newPwd,Integer id);

    int changePoint(Integer id, Integer change);

    ResponseResult<String> verifyToken(String token);
}
